package com.shop.common.page;

import lombok.Data;

@Data
public class CategoryPage<T> {
    private Long totalpage;
    private Integer pagenum;
    private T categories;

    public CategoryPage() {
    }

    public CategoryPage(Long totalpage, Integer pagenum, T categories) {
        this.totalpage = totalpage;
        this.pagenum = pagenum;
        this.categories = categories;
    }
}
